ioemu: Fix interpretation of missing or zero vfb videoram
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 20 May 2008 08:41:52 +0000 (09:41 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 20 May 2008 08:41:52 +0000 (09:41 +0100)
commit7087fca7e1d59175c21011c82fdf7f5dd2ad602e
treebfaa9d467aa9efd7480524b5c6d5afb071f3f733
parent8ef19bcf73c05ba49a1d606d994e67baad2a7c37
ioemu: Fix interpretation of missing or zero vfb videoram

Changeset 17289:d97e61001d81: introduced vfb configuration parameter
videoram, defaulting to zero.  Value zero was interpreted as
unlimited.  Changeset 17630:53195719f762 accidentally dropped the
special case for zero, which broke guests that don't specify videoram,
or specify videoram=0.  Restore the old behavior.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
tools/ioemu/hw/xenfb.c